package com.wangyl.sharding.model;

import java.sql.Timestamp;

/**
 * 作者：WangYaL on 17/8/19 下午9:58.
 * 邮箱：1007486445@qq.com
 */
public class User {
    private int id;
    private String name;
    private String nickName;

    private long appUserId;

    private Timestamp gmtCreate;
    private Timestamp gmtModify;

    public User() {
    }

    public User(long appUserId, String name, String nickName) {
        this.appUserId = appUserId;
        this.name = name;
        this.nickName = nickName;
    }

    public User(int id, long appUserId, String name, String nickName) {
        this.id = id;
        this.appUserId = appUserId;
        this.name = name;
        this.nickName = nickName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Timestamp gmtModify) {
        this.gmtModify = gmtModify;
    }

    public long getAppUserId() {
        return appUserId;
    }

    public void setAppUserId(long appUserId) {
        this.appUserId = appUserId;
    }
}
